package com.songlin.houxin.admin.api.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName EnterprisesDeleteDTO.java
 * @Description <p></p>
 * @createTime 2022-03-06 12:24:00
 */
@Data
@ApiModel(value = "企业信息批量删除入参信息")
public class EnterprisesDeleteDTO implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "主键集合")
    @NotNull(message = "主键集合不能为空")
    @Size(min = 1, message = "主键集合最少要有一位")
    private List<Long> enterprisesIds;


}
